import React,{Component} from 'react'
import Header from './Header'
import Menu from './Menu'
import '../../style/admin_less/config.less';
import $ from 'jquery'
class App extends Component {
	constructor(args) {
		super()
	}
	componentDidMount() {
		$('body').css('minWidth','1280px')
	}
	render() {

		return (
			<div className='admin'>
			
			   <Header/>
   
		       <div className="wrapper bg-F0F4F6">
		              <Menu page={this.props.children.props.location.pathname}/>
			          {this.props.children}
			   </div>

			</div>

		)
	}

}
export default App

